/************************************************
*@brief:		This class is designed to allow changing the backGround of our window
*				and use an image instead of a black back BackGround	
*				There is no difference between this class and the imageDrawingStrategy. They are both the same,
*				All the work is done on the resize function of the manager... We dont want to pick the backGround
*				image so this class doesn't implement this function. 
*@author:		K. TANGAO <futurchercheur1@gmail.com>
*@file:			formatingClass.h
*@date:			27/11/2008
*@Version:		1.0
*************************************************/

#ifndef BACKGROUNDSTRATEGY_H
#define BACKGROUNDSTRATEGY_H

#include "LDF/VisComponentStrategy.h"

class  ImageLoading;

class BackgroundImageStrategy : public VisComponentStrategy
{
	public:
		BackgroundImageStrategy(std::string imageName);
		~BackgroundImageStrategy();

	protected:
		// functions from VisComponentStrategy
		void draw(const std::vector<unsigned long>& selectedIds);
		void drawForPicking();

		//the OpenGL texture number for the image used
		unsigned int imageTex;

		//the image Object from imageLoading class
		ImageLoading * imageLoader;


};

#endif //BACKGROUNDSTRATEGY_H
